package pers.jsan.litheopen.utils;

public enum CodeEnum {
    SUCCESS(0),
    BUSINESS_ERROR(1),
    AUTHENTICATION_ERROR(2),
    SYSTEM_ERROR(3),
    PERMISSION_ERROR(4),
    PARAMS_ERROR(10),
    EXIT_ERROR(11),
    NO_EXIT_ERROR(12),
    FORMAT_ERROR(13),
    RELATED_ERROR(14),
    OTHER_ERROR(99),
    NO_EXIT_ACCOUNT_ERROR(1001),
    LIMIT_ERROR(10010),
    IP_ERROR(10011),
    MAXIMUM_ERROR(10013),
    SIGNATURE_ERROR(10020);

    private int value;

    private CodeEnum(int value) {
        this.value = value;
    }

    public int get() {
        return this.value;
    }
}
